# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributors: Bmauet <careil.baptiste@gmail.com>
pkgname=bam
pkgver=0.4.0
pkgrel=1
pkgdesc="A fast and flexible build system using Lua"
arch=('i686' 'x86_64')
url=http://github.com/matricks/bam
license=('ZLIB')
source=("https://github.com/downloads/matricks/bam/${pkgname}-${pkgver}.tar.gz")
md5sums=('2f8e8336b8884110e8a355b12c9fa58a')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}
	sh make_unix.sh
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}
	install -D -m755 bam ${pkgdir}/usr/bin/bam
	install -D -m755 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
